<!DOCTYPE html>

<link href="../../web/images/skin.css" rel="stylesheet" type="text/css" />
<link href="../../web/css/admin_style.css" rel="stylesheet" type="text/css" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css"></style>
<script src="../../web/js/admin.js" type="text/javascript"></script>


<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="17" valign="top" background="../../web/images/mail_leftbg.gif"><img src="../../web/images/left-top-right.gif" width="17" height="29" /></td>
    <td valign="top" background="../../web/images/content-bg.gif"><table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
        <td height="31"><div class="titlebt">数据编辑</div></td>
      </tr>
    </table></td>
    <td width="16" valign="top" background="../../web/images/mail_rightbg.gif"><img src="../../web/images/nav-right-bg.gif" width="16" height="29" /></td>
  </tr>
  <tr>
    <td valign="middle" background="../../web/images/mail_leftbg.gif">&nbsp;</td>
    <td valign="top" bgcolor="#F7F8F9"><table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td colspan="2" valign="top">&nbsp;</td>
        <td>&nbsp;</td>
        <td valign="top">&nbsp;</td>
      </tr>
      <tr>
        <td width="7%">&nbsp;</td>
        <td width="50%" valign="top">
        <?php 
          $arg = $_GET['item'];
          $item = explode(":",$arg);
          //var_dump($item);
        ?>
          
        <form action="../../index.php?EconomicController/addItem" method="post">
        <table  width="100%" height="144" border="1" cellpadding="0" cellspacing="0" class="line_table">
          <tr>
            <td width='50%' class='left_bt2' align='center'>指标</td>
			<td width='50%' class='left_bt2' align='center'><input style="width:150px" type="text" class="edit_item"  name="name" /></td>
          </tr>
		  <tr>
            <td width='50%' class='left_bt2' align='center'>时间</td>
			<td width='50%' class='left_bt2' align='center'>
				<select  name="year"  id="sYear">
					  <option value="2013" <?php if($item[4]=="2013") {echo ("selected='selected'");}?>>2013</option>
					  <option value="2012" <?php if($item[4]=="2012") {echo ("selected='selected'");}?>>2012</option>
					  <option value="2011" <?php if($item[4]=="2011") {echo ("selected='selected'");}?>>2011</option>
					  <option value="2010" <?php if($item[4]=="2010") {echo ("selected='selected'");}?>>2010</option>
					  <option value="2009" <?php if($item[4]=="2009") {echo ("selected='selected'");}?>>2009</option>
					  <option value="2008" <?php if($item[4]=="2008") {echo ("selected='selected'");}?>>2008</option>
					  <option value="2007" <?php if($item[4]=="2007") {echo ("selected='selected'");}?>>2007</option>
					  <option value="2006" <?php if($item[4]=="2006") {echo ("selected='selected'");}?>>2006</option>
					  <option value="2005" <?php if($item[4]=="2005") {echo ("selected='selected'");}?>>2005</option>
					  <option value="2004" <?php if($item[4]=="2004") {echo ("selected='selected'");}?>>2004</option>
					  <option value="2003" <?php if($item[4]=="2003") {echo ("selected='selected'");}?>>2003</option>
					  <option value="2002" <?php if($item[4]=="2002") {echo ("selected='selected'");}?>>2002</option>
					  <option value="2001" <?php if($item[4]=="2001") {echo ("selected='selected'");}?>>2001</option>
					  <option value="2000" <?php if($item[4]=="2000") {echo ("selected='selected'");}?>>2010</option>
					  
				</select>
				<select name="month" id="sYear">
					  <option value="1" <?php if($item[5]=="1") {echo ("selected='selected'");}?>>1</option>
					  <option value="2" <?php if($item[5]=="2") {echo ("selected='selected'");}?>>2</option>
					  <option value="3" <?php if($item[5]=="3") {echo ("selected='selected'");}?>>3</option>
					  <option value="4" <?php if($item[5]=="4") {echo ("selected='selected'");}?>>4</option>
					  <option value="5" <?php if($item[5]=="5") {echo ("selected='selected'");}?>>5</option>
					  <option value="6" <?php if($item[5]=="6") {echo ("selected='selected'");}?>>6</option>
					  <option value="7" <?php if($item[5]=="7") {echo ("selected='selected'");}?>>7</option>
					  <option value="8" <?php if($item[5]=="8") {echo ("selected='selected'");}?>>8</option>
					  <option value="9" <?php if($item[5]=="9") {echo ("selected='selected'");}?>>9</option>
					  <option value="10" <?php if($item[5]=="10") {echo ("selected='selected'");}?>>10</option>
					  <option value="11" <?php if($item[5]=="11") {echo ("selected='selected'");}?>>11</option>
					  <option value="12" <?php if($item[5]=="12") {echo ("selected='selected'");}?>>12</option>
				</select>			
			</td>
          </tr>
		  <tr>
            <td width='50%' class='left_bt2' align='center'>指标值</td>
			<td width='50%' class='left_bt2' align='center'><input style="width:150px" type="text" class="edit_item"  name="value" /></td>
          </tr>	  
		  <tr>
            <td width='50%' class='left_bt2' align='center'>单位</td>
			<td width='50%' class='left_bt2' align='center'><input style="width:150px" type="text" class="edit_item"  name="unit"  /></td>
          </tr>
		  
        </form>
          <tr>
            <td width='50%' class='left_bt2' align='center'>
              <input type="submit" value="提交" onclick="return checkAddItem()"/>
            </td>
            <td width='50%' class='left_bt2' align='center'>
            </td>
          <tr>
        </table>
        </td>
      </tr>
      <tr>
        <td colspan="2">&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>



      <tr>
        <td width="2%">&nbsp;</td>
        <td width="51%" class="left_txt"><img src="../../web/images/icon-mail2.gif" width="16" height="11">咨询邮箱：842232836@qq.com<br>
              <img src="../../web/images/icon-phone.gif" width="17" height="14"> 联系电话：15001767316</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td background="../../web/images/mail_rightbg.gif">&nbsp;</td>
  </tr>
  <tr>
    <td valign="bottom" background="../../web/images/mail_leftbg.gif"><img src="../../web/images/buttom_left2.gif" width="17" height="17" /></td>
    <td background="../../web/images/buttom_bgs.gif"><img src="../../web/images/buttom_bgs.gif" width="17" height="17"></td>
    <td valign="bottom" background="../../web/mages/mail_rightbg.gif"><img src="../../web/images/buttom_right2.gif" width="16" height="17" /></td>
  </tr>
</table>
</body>